home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-ARM / IRQ.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  430b  |  30 lines

  1. #ifndef __ASM_ARM_IRQ_H
  2. #define __ASM_ARM_IRQ_H
  3.  
  4. #include <asm/arch/irqs.h>
  5.  
  6. #ifndef irq_cannonicalize
  7. #define irq_cannonicalize(i)    (i)
  8. #endif
  9.  
  10. #ifndef NR_IRQS
  11. #define NR_IRQS    128
  12. #endif
  13.  
  14. /*
  15.  * Use this value to indicate lack of interrupt
  16.  * capability
  17.  */
  18. #ifndef NO_IRQ
  19. #define NO_IRQ    255
  20. #endif
  21.  
  22. extern void disable_irq(unsigned int);
  23. extern void enable_irq(unsigned int);
  24.  
  25. #define __STR(x) #x
  26. #define STR(x) __STR(x)
  27.  
  28. #endif
  29.  
  30.